package com.meilai.project.mapper.business.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.dto.business.customer.CustomerInfoFlowDTO;
import com.meilai.project.entity.business.customer.CustomerInfoFlow;
import com.meilai.project.vo.business.customer.CustomerFlowVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xhy
 * @since 2022-01-06
 */
public interface CustomerInfoFlowMapper extends BaseMapper<CustomerInfoFlow> {

    List<CustomerFlowVO> page(@Param("page") Page<CustomerFlowVO> page, @Param("name") String name, @Param("industry_id") Long industry_id, @Param("userIds") List<Long> userIds);

    CustomerInfoFlowDTO getOneDtoById(@Param("id") Long id);

    CustomerInfoFlowDTO queryDto(@Param("id")Long id);
}
